package org.openbam.core.stmt;

import org.openbam.core.expr.IExpression;
import org.openbam.core.expr.IOperatingWindow;
import org.openbam.core.expr.IReportingInterval;

import java.util.HashMap;
import java.util.Map;

/**
 * A statement that evaluates the expressions it contains, and reports on them at the reporting
 * interval. This can also be used as the "map" portion of a "map-reduce" opreation.
 * User: indersabharwal
 */
public class Statement implements IStatement {

    protected Map<String, IExpression> expressions = new HashMap<String, IExpression>();

    public Map<String, IExpression> getExpressions() {
        return null;
    }

    public IOperatingWindow getOperatingWindow() {
        return null;
    }

    public IReportingInterval getReportingInterval() {
        return null;
    }

    public void addExpression(String name, IExpression expression) {

    }

    public void removeExpression(String name) {

    }

    public void report(Map<String, Object> result) {

    }

    public void report(IReportingInterval dueTo) {

    }
}
